package com.example.ssmxuankeback.service;

import com.example.ssmxuankeback.common.RestBean;
import com.example.ssmxuankeback.dto.ClassDTO;
import com.example.ssmxuankeback.dto.ClassPageQueryDTO;
import com.example.ssmxuankeback.vo.ClassVO;
import com.example.ssmxuankeback.vo.PageVO;
import java.util.List;

public interface ClassService {
    RestBean<ClassVO> getClassByClassId(Long classId);
    RestBean<ClassVO> addClass(ClassDTO dto);
    RestBean<ClassVO> updateClass(ClassDTO dto);
    RestBean<ClassVO> deleteClassById(Long classId);
    RestBean<PageVO<ClassVO>> listByPage(ClassPageQueryDTO queryDTO);
}